window.onload = function() {
	setConfig();
	setElems();
}

function setConfig() {
	localData.init();
}


var config = {
	name: "inve",
	isInit: !false,
	outerOffset: 230,
	innerOffset: 390,
	laddCount: 25,
  laddSrc: "../../picture/ladd/",
	showColor: "red",
	hideColor: "green",
	color: [
	{deep:"#684",normal:"#8a6", light:"#cea"}, 
	{deep:"#468",normal:"#68a", light:"#ace"},
	{deep:"#648",normal:"#86a", light:"#cae"},
	{deep:"#864",normal:"#a86", light:"#eca"},
	{deep:"#846",normal:"#a68", light:"#eac"},
	],
};

var items = [
{ id: 0, title: '投入', 
color: {deep:"#846", normal:"#a68", light:"#eac"},
list: [
{title: '我的投入', vice: '投入的资金可被淘金者抢夺', 
dot: 1, isGrab: 1, 
inverStr: "投入者：", flexStr: "的投入",
laddStr: "阶梯<br/><h3>{0}阶</h3>",
pieceStr: "剩余份数<br/><h3>{0}份</h3>",
priceStr: "单个金额<br/><h3>{0}元</h3>",
timesStr: "已传播<br/><h3>{0}次</h3>",
lines: [
{index: "1548342507258", stamp: "2019-01-24</br>23:08:27", ladd: 8, multi: 3, inver: "我"},
]},
{title: '选择阶梯', vice: '投入资金后可以抢夺等量的资金', 
dot: 1, isGrab: 0, 
inverStr: "投入者：", flexStr: "投入预览",
laddStr: "阶梯<br/><h3>{0}阶</h3>",
pieceStr: "投入份数<br/><h3>{0}份</h3>",
priceStr: "单个金额<br/><h3>{0}元</h3>",
timesStr: "可传播<br/><h3>{0}次</h3>",
lines: []},
]},


{ id: 1, title: '抢夺', 
color: {deep:"#864", normal:"#a86", light:"#eca"},
list: [
{title: '资金池', vice: '抢夺资金以提高可获收益上限', 
dot: 1, isGrab: 1, 
inverStr: "投入者：", flexStr: "的投入",
laddStr: "阶梯<br/><h3>{0}阶</h3>",
pieceStr: "剩余份数<br/><h3>{0}份</h3>",
priceStr: "单个金额<br/><h3>{0}元</h3>",
timesStr: "已传播<br/><h3>{0}次</h3>",
lines: []}, 
]},


{ id: 2, title: '投放', 
color: {deep:"#468", normal:"#68a", light:"#ace"},
list: [
{title: '我的投放', vice: '投放的红包可被投入者抢夺', 
dot: 100, isGrab: 1,
inverStr: "投放者：", flexStr: "的投放",
laddStr: "阶梯<br/><h3>{0}阶</h3>",
pieceStr: "剩余份数<br/><h3>{0}份</h3>",
priceStr: "单个金额<br/><h3>{0}元</h3>",
timesStr: "已传播<br/><h3>{0}次</h3>",
lines: [
{index: "1548342507364", stamp: "2019-01-24</br>23:08:27", ladd: 13, multi: 1, inver: "我", word: "众鑫淘金/海量红包/等你发掘"},
]},
{title: '选择区域', vice: '选择在附近或在指定市区投放'},
{title: '设置内容', vice: '设置每一阶梯红包要投放的推广内容'},
{title: '选择阶梯', vice: '向抢夺红包和资金的淘金者展示推广内容', 
dot: 100, isGrab: 0, 
inverStr: "投放者：", flexStr: "投放预览",
laddStr: "阶梯<br/><h3>{0}阶</h3>",
pieceStr: "投放份数<br/><h3>{0}份</h3>",
priceStr: "单个金额<br/><h3>{0}元</h3>",
timesStr: "可传播<br/><h3>{0}次</h3>",
lines: []},
]},

{ id: 3, title: '获取', 
color: {deep:"#648", normal:"#86a", light:"#cae"},
list: [
{title: '红包池', vice: '抢夺投放的红包来获取收益', 
dot: 100, isGrab: 1, 
inverStr: "投放者：", flexStr: "的投放",
laddStr: "阶梯<br/><h3>{0}阶</h3>",
pieceStr: "剩余份数<br/><h3>{0}份</h3>",
priceStr: "单个金额<br/><h3>{0}元</h3>",
timesStr: "已传播<br/><h3>{0}次</h3>",
lines: []},
]}
];

var instance = `
Bentley(宾利),
Rolls-Royce(劳斯莱斯),
Aston-Martin(阿斯顿马丁),
Land-Rover(路虎),
Jaguar(美洲虎),
MG(美格),
Lincoln(林肯),
Cadillac(凯迪拉克),
Jeep(吉普),
Buick(别克),
Ford(福特),
Chrysler(克莱斯勒),
Dodge(道奇),
Chevrolet(雪佛兰),
Acura(讴歌),
Lexus(雷克萨斯),
Infiniti(英菲尼迪),
Toyota(丰田),
Nissan(日产),
Honda(本田),
Mazda(马自达),
Mitsubishi(三菱),
Subaru(斯巴鲁),
Suzuki(铃木),
Daihatsu(大发),
Maybach(迈巴赫),
Mercedes-Benz(梅塞德斯奔驰),
Porsche(保时捷),
BMW (宝马),
Audi(奥迪),
Volkswagen(大众),
Opel(欧宝),
Smart(斯玛特),
Ferrari(法拉利),
Lamborghini(兰博基尼),
Maserati(玛莎拉蒂),
Alfa-Romeo(阿尔法罗密欧),
Fiat(菲亚特),
Red-Banner(红旗),
Qirui(奇瑞),
GreatWall(长城),
Chonghua(中华),
Byd(比亚迪),
Changan(长安),
Geely(吉利)
`;
